﻿<?php
	include_once("DBConnect.php");
	$con=DB::getDBConnect();
	//header("Content-Type:text/html;charset=GB2312");
	$UserID=$_GET["UserID"];
	//$con = mysql_connect("localhost:3306","root","123");
	if($con){
		//mysql_select_db("database", DBConnect());
		$result=mysql_query("SELECT * FROM user WHERE UserID='$UserID'");
		if(mysql_fetch_array($result)!=0)
			echo "此用户已存在！";
		else
		 	echo "√";
		//mysql_close(DBConnect());		
	}
?>	